package io.github.lee.plugin.depend.impl

import io.github.lee.plugin.depend.Versions
import io.github.lee.plugin.depend.handler.IHandlerDepend
import io.github.lee.plugin.depend.handler.api
import org.gradle.api.artifacts.dsl.DependencyHandler

object Refresh : IHandlerDepend {
    private const val swiperefreshlayout =
        "androidx.swiperefreshlayout:swiperefreshlayout:${Versions.swiperefreshlayout}"
    private const val adapter =
        "io.github.cymchad:BaseRecyclerViewAdapterHelper4:${Versions.adapter}"

    override fun handler(handler: DependencyHandler) {
        handler.api(swiperefreshlayout)
        handler.api(adapter)
    }

}